
<%@ page import="workforecast.User" %>
<!DOCTYPE html>
<html>
	<head>
		<meta name="layout" content="main2">
		<g:set var="entityName" value="${message(code: 'user.label', default: 'User')}" />
		<title><g:message code="default.list.label" args="[entityName]" /></title>
	</head>
	<body>
	<div class="nav" role="navigation">
			<ul>
				<li><a class="back" href="${createLink(action: 'home', controller:'user')}">Back</a></li>
				<li><a class="logout" href="${createLink(action: 'logout', controller:'user')}">Logout</a></li>
				<li><a class="home" href="${createLink(action: 'home', controller:'user')}">Home</a></li>
				
			</ul>
		</div>
		<div style="margin-left:1em;"> <h1> Management Overview</h1> </div>
		<br>
   		<g:form style="display:${(permissions.showBusinessUnitSection) ? "inline" : "none"};" controller="BusinessUnit" action="list">
   						    <input class="mybuttonHome" type="submit" value="Manage&#10;Business Units" />
   		</g:form>
   		
   		<g:form style="display:${(permissions.showTeamSection) ? "inline" : "none"};" controller="Team" action="list">
   						    <input class="mybuttonHome" type="submit" value="Manage&#10;Teams" />
   		</g:form>
   		
		<g:form style="display:${(permissions.showUserSection) ? "inline" : "none"};" controller="User" action="list">
   						   <input class="mybuttonHome" type="submit" value="Manage&#10;Users" />
   		</g:form>
   		
   		<g:form style="display:${(permissions.showActivityTypeSection) ? "inline" : "none"};" controller="ActivityType" action="list">
   						    <input class="mybuttonHome" type="submit" value="Manage&#10;Activity Types" />
   		</g:form>
   		
	</body>
</html>

